<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function fei(n){
            if(n<=1){
                return 1
            }
            return fei(n-1)+fei(n-2)
        }
        console.log(fei(0))
        console.log(fei(1))
        console.log(fei(2))
        console.log(fei(3))
        function jiechen(n){
            if(n==1){
                return n
            }
            return n*jiechen(n-1)
        }
        console.log(jiechen(1))
        console.log(jiechen(5))
    </script>
    
</body>
</html>